﻿namespace SRM.Core.Extension
{
    public class Consts
    {
        /// <summary>
        /// 数据库连接字符串
        /// </summary>
        public const string conneactionString = "RazorPagesMovieContext";

        /// <summary>
        /// 管理员角色
        /// </summary>
        public const string Admin = "Administrator";

        /// <summary>
        /// 供应商角色
        /// </summary>
        public const string Supplier = "Supplier";

        /// <summary>
        /// 网站名字
        /// </summary>
        public const string SiteName = "SRMWebSite";

        /// <summary>
        /// 登录地址
        /// </summary>
        public const string LoginPath = "/Account/Login";

        /// <summary>
        /// 登出地址
        /// </summary>
        public const string LogoutPath = "/Account/Logout";

        /// <summary>
        /// 角色不够展示的地址
        /// </summary>
        public const string AccessDeniedPath = "/Account/AccessDenied";
    }
}
